package me.ohaga
{
	import net.flashpunk.Entity;
	import net.flashpunk.Graphic;
	import net.flashpunk.Mask;
	import net.flashpunk.graphics.Image;
	
	public class Block extends Entity
	{
		[Embed(source="/assets/gfx/block.png")] private static const BLOCK_IMG:Class;
		
		public static const WIDTH:Number = 20;
		public static const HEIGHT:Number = 20;
		
		public function Block(x:Number=0, y:Number=0) {
			this.type = "block";
			
			this.x = x;
			this.y = y;
			
			setHitbox(WIDTH,HEIGHT)
			this.graphic = new Image(BLOCK_IMG);
		}
	}
}